import request from '@/utils/request'
// fd 是 FormData 格式请求提数据
export const pubArtAPI = fd => request.post('/my/article/add', fd)

export const getArtListAPI = obj => request.get('/my/article/list', { params: obj })

export const getArtDetailAPI = id => request.get('/my/article/info?id=' + id)

export const delArtAPI = id => request.delete('/my/article/info?id=' + id)
